package com.jboom.templates.statemachine.spring.service;

import com.jboom.templates.statemachine.spring.entity.Order;

/**
 * @author zhangwen
 * @date 2023/5/25 13:13
 */
public interface OrderService {

    Order create();

    Order pay(Long id);

    Order deliver(Long id);

    Order receive(Long id);

    void printAllOrders();
}
